@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>代理公司管理</h5>
            </div>
            <input type="hidden" id="agentId" value="${agentId}"/>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                    		<div class="row">
	                            <div class="col-sm-3">
									<#SelectCon id="province" name="用户地址所在地：省 ">
										<option id="choosePro"value="-1">请选择省份</option>
									</#SelectCon>
								</div>    
								<div class="col-sm-3">
									<#SelectCon id="citys" name="市" >
										<option id="chooseCity" value="-1">请选择城市</option>
								　　</#SelectCon>
								</div>    
								<div class="col-sm-3">
									<#SelectCon id="county"  name="县" >
										<option id="chooseCounty" value="-1">请选择城市</option>
								　　</#SelectCon>		 
								</div>
							 </div>
                        <div class="row">
                            <div class="col-sm-3">
                               <#SelectCon id="alevel" name="代理级别" >
                                    <option value="">--请选择--</option>
                                    <option value="10">省级</option>
                                    <option value="11">市级</option>
                                    <option value="12">区县</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-3">
                               <#SelectCon id="agentStatus" name="状态" >
                                   <option value="">--请选择--</option>
                                    <option value="0">停用</option>
                                    <option value="1">启用</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="SktAgents.search()"/>
                                @if(shiro.hasPermission("/sktAgents/add")){
	                                <#button name="添加" icon="fa-plus" clickFun="SktAgents.openAddSktAgents()"/>
	                            @}
	                            @if(shiro.hasPermission("/sktAgents/update")){
	                                <#button name="修改" icon="fa-edit" clickFun="SktAgents.openSktAgentsDetail()" space="true"/>
	                            @}
	                            @if(shiro.hasPermission("/sktAgents/delete")){
	                                <#button name="删除" icon="fa-remove" clickFun="SktAgents.delete()" space="true"/>
	                            @}
                            </div>
                        </div>
                        <div class="hidden-xs" id="SktAgentsTableToolbar" role="group">
                        </div>
                        <#table id="SktAgentsTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/huamao/sktAgents/sktAgents.js"></script>
<script src="${ctxPath}/static/modular/huamao/public/areas.js"></script>
@}
